package com.wangy.service;

import com.wangy.bean.Role;

import java.util.List;


/**
 * *@Author yyzb
 * *@Date 2024/10/24 13:07
 * *@Version 1.0
 */

public interface RoleService {

    List<Role> getAllRoles();

    String getUserRoleName(Long userId);

    void deleteRole(Long roleId);

    void addRole(String roleName);

}
